<%-- 
    Document   : ShowImage
    Created on : Nov 11, 2013, 3:02:05 PM
    Author     : Trung Kien
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <form action="ShowImage" method="POST">
            <table>
                <tr>
                    <th>image</th>
                    <th>dayshooting</th>
                    <th>userid</th>
                    <th>albumid</th>
                    <th>introduction</th>
                </tr>
                <c:forEach var="a" items="${listImage}" >
                    <tr>
                        <td> <img src="uploads/${a.getImgName()} " /></td>
                        <td>${a.getDatshooting()}</td>
                        <td>${a.getUserid()}</td>
                        <td>${a.getAlbumid()}</td>
                        <td>${a.getIntroduction()}</td>
                    </tr>
                </c:forEach>
        </form>
    </body>
</html>
